﻿using System.Reflection;
using log4net;

namespace Eff.Commons
{
    /// <summary>
    /// log4net 帮助类
    /// </summary>
    public class LogHelper
    {
        public static ILog Log
        { 
            get
            {
                return LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
            }
        }

    }
}
